package com.bulletelc.apollopre.entity;

/**
 * author: lhl
 * date  : 2018/01/16
 * desc  : 产品规则
 */

public class ProductSku {


    /**
     * id : 1370
     * product_id : 226
     * attr_params : 12:394
     * hash : 323236333934
     * name : 日用品颜色:粉色
     * price : 50
     * install_fee : 194.24
     * unit : 0
     * is_released : 1
     * origin_price : 50.00
     * logo_url : https://img-apollo-pre-staging.bulletelc.com/store/Product/226/ea/m/ea3902000abdefb027ad93476b0bc536.jpg
     */

    private int id;
    private int product_id;
    private String attr_params;
    private String hash;
    private String name;
    private double price;
    private double install_fee;
    private int unit;
    private int is_released;
    private String origin_price;
    private String logo_url;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProduct_id() {
        return product_id;
    }

    public void setProduct_id(int product_id) {
        this.product_id = product_id;
    }

    public String getAttr_params() {
        return attr_params;
    }

    public void setAttr_params(String attr_params) {
        this.attr_params = attr_params;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public double getInstall_fee() {
        return install_fee;
    }

    public void setInstall_fee(double install_fee) {
        this.install_fee = install_fee;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getUnit() {
        return unit;
    }

    public void setUnit(int unit) {
        this.unit = unit;
    }

    public int getIs_released() {
        return is_released;
    }

    public void setIs_released(int is_released) {
        this.is_released = is_released;
    }

    public String getOrigin_price() {
        return origin_price;
    }

    public void setOrigin_price(String origin_price) {
        this.origin_price = origin_price;
    }

    public String getLogo_url() {
        return logo_url;
    }

    public void setLogo_url(String logo_url) {
        this.logo_url = logo_url;
    }

    @Override
    public String toString() {
        return "ProductSku{" +
                "id=" + id +
                ", product_id=" + product_id +
                ", attr_params='" + attr_params + '\'' +
                ", hash='" + hash + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", unit=" + unit +
                ", is_released=" + is_released +
                ", origin_price='" + origin_price + '\'' +
                ", logo_url='" + logo_url + '\'' +
                '}';
    }
}
